package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 微信发送模板
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("wechar_template")
@ApiModel(value = "WecharTemplate对象", description = "微信发送模板")
public class WecharTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("模板名称")
    private String name;

    @ApiModelProperty("模板id")
    private String templateId;

    @ApiModelProperty("模板内容")
    private String content;

    @ApiModelProperty("例子")
    private String caseContent;

    @ApiModelProperty("1启用，0停用")
    private Integer status;

    @ApiModelProperty("类型：1：到校提醒，2：离校提醒，3：上课提醒，4：课时消耗")
    private Integer type;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getCaseContent() {
        return caseContent;
    }

    public void setCaseContent(String caseContent) {
        this.caseContent = caseContent;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "WecharTemplate{" +
            "id=" + id +
            ", name=" + name +
            ", templateId=" + templateId +
            ", content=" + content +
            ", caseContent=" + caseContent +
            ", status=" + status +
            ", type=" + type +
            ", createdAt=" + createdAt +
        "}";
    }
}
